package com.crm.mapper;

import com.crm.dto.LoginDto;
import com.crm.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("select *from tb_user where username=#{username} and password=#{password} ")
    User selectOne(LoginDto loginDto);
}
